package com.robotic.route.mapper;

import java.util.List;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.robotic.route.domain.RoutePointDetail;
import org.apache.ibatis.annotations.Mapper;

/**
 * 路线点位维护Mapper接口
 *
 * @author tian
 * @date 2025-08-21
 */
@Mapper
public interface RoutePointDetailMapper extends BaseMapper<RoutePointDetail>
{
    /**
     * 查询路线点位维护
     *
     * @param id 路线点位维护主键
     * @return 路线点位维护
     */
    public RoutePointDetail selectRoutePointDetailById(Long id);

    /**
     * 查询路线点位维护列表
     *
     * @param routePointDetail 路线点位维护
     * @return 路线点位维护集合
     */
    public List<RoutePointDetail> selectRoutePointDetailList(RoutePointDetail routePointDetail);

    /**
     * 新增路线点位维护
     *
     * @param routePointDetail 路线点位维护
     * @return 结果
     */
    public int insertRoutePointDetail(RoutePointDetail routePointDetail);

    /**
     * 修改路线点位维护
     *
     * @param routePointDetail 路线点位维护
     * @return 结果
     */
    public int updateRoutePointDetail(RoutePointDetail routePointDetail);

    /**
     * 删除路线点位维护
     *
     * @param id 路线点位维护主键
     * @return 结果
     */
    public int deleteRoutePointDetailById(Long id);

    /**
     * 批量删除路线点位维护
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRoutePointDetailByIds(Long[] ids);

    @InterceptorIgnore(blockAttack = "true")
    void deleteAll();
}
